package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
@ConfigurationProperties(prefix = "aliyun.oss")
public class AliOssProperties {
    //区域
    private String endpoint;
    //身份ID
    private String accessKeyId;
    //身份密钥
    private String accessKeySecret;
    //存储空间
    private String bucketName;
}
